package hb;
// default package


import java.util.Date;
import java.util.HashSet;
import java.util.Set;


/**
 * AskRentList entity. @author MyEclipse Persistence Tools
 */

public class AskRentList  implements java.io.Serializable {


    // Fields    

     private Integer listId;
     private AskRentOrder askRentOrder;
     private User user;
     private String trueName;
     private String contact;
     private Integer rent;
     private String region;
     private Integer bedroom;
     private Integer sittingroom;
     private Integer toilet;
     private Integer square;
     private String equipment;
     private String description;
     private Integer status;
     private Date date;
     private Set askRentOrders = new HashSet(0);


    // Constructors

    /** default constructor */
    public AskRentList() {
    }

	/** minimal constructor */
    public AskRentList(User user, String trueName, String contact, Integer rent, String region) {
        this.user = user;
        this.trueName = trueName;
        this.contact = contact;
        this.rent = rent;
        this.region = region;
    }
    
    /** full constructor */
    public AskRentList(AskRentOrder askRentOrder, User user, String trueName, String contact, Integer rent, String region, Integer bedroom, Integer sittingroom, Integer toilet, Integer square, String equipment, String description, Set askRentOrders) {
        this.askRentOrder = askRentOrder;
        this.user = user;
        this.trueName = trueName;
        this.contact = contact;
        this.rent = rent;
        this.region = region;
        this.bedroom = bedroom;
        this.sittingroom = sittingroom;
        this.toilet = toilet;
        this.square = square;
        this.equipment = equipment;
        this.description = description;
        this.askRentOrders = askRentOrders;
    }

   
    // Property accessors

    public Integer getListId() {
        return this.listId;
    }
    
    public void setListId(Integer listId) {
        this.listId = listId;
    }

    public AskRentOrder getAskRentOrder() {
        return this.askRentOrder;
    }
    
    public void setAskRentOrder(AskRentOrder askRentOrder) {
        this.askRentOrder = askRentOrder;
    }

    public User getUser() {
        return this.user;
    }
    
    public void setUser(User user) {
        this.user = user;
    }

    public String getTrueName() {
        return this.trueName;
    }
    
    public void setTrueName(String trueName) {
        this.trueName = trueName;
    }

    public String getContact() {
        return this.contact;
    }
    
    public void setContact(String contact) {
        this.contact = contact;
    }

    public Integer getRent() {
        return this.rent;
    }
    
    public void setRent(Integer rent) {
        this.rent = rent;
    }

    public String getRegion() {
        return this.region;
    }
    
    public void setRegion(String region) {
        this.region = region;
    }

    public Integer getBedroom() {
        return this.bedroom;
    }
    
    public void setBedroom(Integer bedroom) {
        this.bedroom = bedroom;
    }

    public Integer getSittingroom() {
        return this.sittingroom;
    }
    
    public void setSittingroom(Integer sittingroom) {
        this.sittingroom = sittingroom;
    }

    public Integer getToilet() {
        return this.toilet;
    }
    
    public void setToilet(Integer toilet) {
        this.toilet = toilet;
    }

    public Integer getSquare() {
        return this.square;
    }
    
    public void setSquare(Integer square) {
        this.square = square;
    }

    public String getEquipment() {
        return this.equipment;
    }
    
    public void setEquipment(String equipment) {
        this.equipment = equipment;
    }

    public String getDescription() {
        return this.description;
    }
    
    public void setDescription(String description) {
        this.description = description;
    }

    public Set getAskRentOrders() {
        return this.askRentOrders;
    }
    
    public void setAskRentOrders(Set askRentOrders) {
        this.askRentOrders = askRentOrders;
    }
   
    public Integer getStatus() {
        return this.status;
    }
    
    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getDate() {
        return this.date;
    }
    
    public void setDate(Date date) {
        this.date = date;
    }







}